package org.spring.batch.ch04;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class ItemWriter implements org.springframework.batch.item.ItemWriter<Object> {

	private final Logger logger = LoggerFactory.getLogger(getClass());

	@Override
	public void write(List<? extends Object> items) throws Exception {
		logger.info("=====>>ItemWriter, Count={}", items.size());
		for (Object obj : items) {
			logger.info("obj:{}", obj);
		}
	}

}
